package com.gaattc.service;

import com.gaattc.model.User;
import com.gaattc.model.bo.AdminLoginBO;
import com.gaattc.model.bo.UserChangePwdBO;

import java.util.List;

public interface UserService {
    List<User> allUser();

    int deleteUser(int id);

    List<User> searchUser(String word);

    int login(AdminLoginBO loginBO);

    int signUp(User user);

    User data(String token);

    int updatePwd(UserChangePwdBO userChangePwdBO);

    void updateUserData(User user);
}
